﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gerencial_Fisio_Nutry.Nota
{
    public class NotaFiscal
    {
        public NotaFiscal() {
            emit = new FornecedorNota();
            dest = new DestinatarioNota();
            det = new List<ItemNota>();
            transp = new Transportadora();
            cobr = new Cobranca();
        }
        public string versao;
        public string id;// character varying NOT NULL,
        public int nnf;// integer NOT NULL,
        public int cuf;// integer NOT NULL,
        public string cnf ;//character varying NOT NULL,
        public string natop ;//character varying NOT NULL,
        public int indpag ;//integer NOT NULL,
        public int mod;// integer;// NOT NULL,
        public int serie ;//integer NOT NULL,
        public DateTime demi ;//date NOT NULL,
        public DateTime dsaient;// date NOT NULL,
        public int tpnf;// integer NOT NULL,
        public string cmunfg ;//character;// varying NOT NULL,
        public int tpimp;// integer NOT NULL,
        public int tpemis ;//integer NOT NULL,
        public int cdv ;//integer NOT NULL,
        public int tpamb ;//integer NOT NULL,
        public int finnfe;// integer NOT NULL,
        public int procemi;// integer NOT NULL,
        public string verproc;// character varying NOT NULL,
        public double vBC;// double precision NOT NULL,
        public double vICMS;// double precision NOT NULL,
        public double vBCST;// double precision NOT NULL,
        public double vST;// double precision NOT NULL,
        public double vProd;// double precision NOT NULL,
        public double vFrete;// double precision NOT NULL,
        public double vSeg;// double precision NOT NULL,
        public double vDesc;// double precision NOT NULL,
        public double vII;// double precision NOT NULL,
        public double vIPI;// double precision NOT NULL,
        public double vPIS;// double precision NOT NULL,
        public double vCOFINS;// double precision NOT NULL,
        public double vOutro;// double precision NOT NULL,
        public double vNF;// double precision NOT NULL,
        public int nfat;// integer NOT NULL,
        public double vorig;// double precision NOT NULL,
        public double vliq;// double precision NOT NULL,
        public FornecedorNota emit;
        public DestinatarioNota dest;
        public List<ItemNota> det;
        public Transportadora transp;
        public Cobranca cobr;



    }
}
